import Vue from 'vue';
import Vuex from 'vuex';

import app from './modules/app';
import user from './modules/user';
import home from './modules/home';
import goods from './modules/goodsId';
import template from './modules/template';
import ec from './modules/ec';
import commodity from './modules/commodityId';
import shop from './modules/shopId';

Vue.use(Vuex);

const store = new Vuex.Store({
    state: {
        //
    },
    mutations: {
        //
    },
    actions: {

    },
    modules: {
        app,
        user,
        home,
        goods,
        template,
        ec,
        shop,
        commodity
    }
});

export default store;
